package liportest.testabstract;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import java.io.Serializable;


@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@TableName("t_prc_software")
public class PrcSoftware implements Serializable {

    @TableId(type = IdType.AUTO)
    @Min(value = 0, message = "Id不能小于0")
    private Long softwareId;

    @Min(value = 0, message = "softwareTypeId不能小于0")
    private Long softwareTypeId;


    private static final long serialVersionUID = 164572926820438479L;
}